<?php
	class CustomerModel extends Model{
		protected $_validate=array(
		array('name','','客户名称已经存在！',0,’unique’,1),
	);
	}
?>